home *** CD-ROM | disk | FTP | other *** search
/ Atari Mega Archive 1 / Atari Mega Archive - Volume 1.iso / lists / mint / l_1199 / 955 < prev    next >
Encoding:
Internet Message Format  |  1994-08-27  |  1.3 KB

  1. Subject: stty 0; stty 19200 on modem1, 1 patch...
  2. Date: Thu, 27 Jan 94 23:51:46 CET
  3. From: Juergen Lock <nox@jelal.north.de>
  4. Message-Id: <9401272251.AA00147@jelal.north.de>
  5.  
  6. hello
  7.  
  8.  found this one while hacking together a modem getty emulation :) for
  9. uucp and faxes... (really just a hack, uses xchat, hackfax and taylor's
  10. own login, uucico -l)
  11.  
  12. --- biosfs.c_    Tue Aug 17 18:36:18 1993
  13. +++ biosfs.c    Thu Jan 27 10:16:34 1994
  14. @@ -1069,11 +1069,15 @@
  15.              else
  16.                  oldbaud = baudmap[i];
  17.              *r = oldbaud;
  18. -            if (newbaud > 0 && newbaud != oldbaud) {
  19. +            if (newbaud > 0) {
  20.      /* BUG: assert DTR works only on modem1 */
  21.                  if (dev == 1 || dev == 6) {
  22.                      Offgibit(0xef);
  23.                  }
  24. +                if (newbaud == oldbaud) {
  25. +                    curproc->bconmap = oldmap;
  26. +                    return 0;
  27. +                }
  28.                  for (i = 0; i < MAXBAUD; i++) {
  29.                      if (baudmap[i] == newbaud) {
  30.                          rsconf(i, -1, -1, -1, -1, -1);
  31.  
  32.  i also found that the first stty 19200 sometimes gets `lost' (leaves
  33. port still at 9600) but i'm not sure yet if thats MiNTs fault or
  34. something else.  workaround: stty 9600; stty 19200...
  35.  
  36.  (ooh all these hacks, we really need `real' tty devices, for all ports...)
  37.     Juergen
  38. -- 
  39. J"urgen Lock / nox@jelal.north.de / UUCP: ..!uunet!unido!uniol!jelal!nox
  40.                                 ...ohne Gewehr
  41. PGP public key fingerprint =  8A 18 58 54 03 7B FC 12  1F 8B 63 C7 19 27 CF DA 
  42.